<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html>
<html lang="zh-CN">
  
  <head>
    
    <%@ include file="/WEB-INF/include/meta.jsp"%>
    <%@ include file="/WEB-INF/include/css.jsp"%>
    
  </head>
  <!-- end header -->
  <body>
    <div class="page-group">
      <div class="page page-current">
        <div class="content" style="background:#19140e;">
          <img src="${ctx.resource}/image/experience.png" class="coupon-logo">
          <!-- <h1>人马君FITSTART</h1>
          <h2>重塑身体 重塑生活</h2>
          <div class="">私教1v1体验券</div> -->
          
          <a href="javascript:void(0);" class="button button-claim">立即激活</a>
          <div class="experience-card">
            <h3>持本券可至人马君门店<br/>免费享受${couponBatch.couponTemplate.product.category.name}一节</h3>
            <ul>
              <li>本券不可兑换现金</li>
              <li>预约时间：周一至周日10:00-21:00</li>
              <li>使用此券请提前一天预约(1券限1人使用)</li>
            </ul>
            <div class="experience-address">
              <p><span>人&nbsp;&nbsp;广&nbsp;&nbsp;店</span><a href="javascript:void(0);">021-64437202</a><br/>上海西藏中路525号雅居乐广场2楼</span>
              <p><span>瑞&nbsp;&nbsp;虹&nbsp;&nbsp;店</span><a href="javascript:void(0);">021-65675893</a><br/>上海新天地月亮湾B1层(瑞虹路188号B1层)</span>
              <p><span>五角场店</span><a href="javascript:void(0);">021-65061988</a><br/>上海杨浦区锦嘉路50_52号</span>
            </div>
          </div>
          <p class="interpretation text-center">本券最终解释权归人马君所有</p>
        </div>
      </div>
    </div>
 
    <%@ include file="/WEB-INF/include/script.jsp"%>
    <d:resource type="script" root="${ctx.resource}/build" src="js/page/experience/coupon-activate.js" />
    <script type="text/javascript">
      //var jsConfig = JSON.parse('${wechatJsConfig}')
      require(['page/experience/coupon-activate'], function(page) {
        page.init({
           couponBatchId: "${couponBatch.id}",
           site: "${site}"
        })
      })
    </script>
    
  </body>
</html>